<?php
//include_once 'config.php';
// require_once('../GLOBAL_PLUGINS/FirePHPCore-0.3.2/lib/FirePHPCore/fb.php');

$db = mysql_pconnect(DB_HOST, DB_USER, DB_PASS);
if (!$db) {
    die('No se puede conectar!!' . mysql_error());
    //die();
}

// mysql_select_db(DB_NAME);

$bd_seleccionada = mysql_select_db(DB_NAME);
if (!$bd_seleccionada) {
    die ('No se puede usar foo : ' . mysql_error());
}

//echo "DB_HOST: ".DB_HOST;
//echo "<br>";
//echo "DB_NAME: ".DB_NAME;
//echo "malone";

	
// fb(DB_HOST, 'DB_HOST');
// fb(DB_NAME, 'DB_NAME');
// fb(DB_USER, 'DB_USER');
// fb(DB_PASS, 'DB_PASS');
// fb($db, 'db');
?>
